package ddd;
/**
 * @author dengzhiyuan
 * @version 1.0
 * @time 2021/5/24 15:45
 */
public interface Movable {

    // 相当于组件
    Transform getPosition();
    Vector getVelocity();

    // 行为
    void moveTo(long x, long y);
    void startMove(long velX, long velY);
    void stopMove();
    boolean isMoving();


}
